home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xvc
/
XSGIvcQueryVideoScreenInfo.z
/
XSGIvcQueryVideoScreenInfo
Wrap
Text File
|
1998-10-30
|
6KB
|
133 lines
XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333)))) XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333))))
NNNNAAAAMMMMEEEE
XSGIvcQueryVideoScreenInfo - Query video screen, graphics
type
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////eeeexxxxtttteeeennnnssssiiiioooonnnnssss////XXXXSSSSGGGGIIIIvvvvcccc....hhhh>>>>
SSSSttttaaaattttuuuussss XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,,
iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,,
XXXXSSSSGGGGIIIIvvvvccccSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo ****ssssiiiinnnnffffoooo____rrrreeeettttuuuurrrrnnnn))))
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
_d_i_s_p_l_a_y Specifies the connection to the X server.
_s_c_r_e_e_n Specifies the screen of the X server.
_s_i_n_f_o__r_e_t_u_r_n A pointer to the XSGIvcScreenInfo variable
which is to receive the corresponding
information.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo returns a _X_S_G_I_v_c_S_e_r_v_e_r_I_n_f_o
structure containing video server information for a
specified screen.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
This function returns TRUE if successful, FALSE upon
failure.
Parameter errors are reported via BadValue or BadMatch.
SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
The structure returned is shown below.
/* See flags in XSGIvcScreenInfo */
#define XSGIVC_SIFFormatPerChannel (1L << 0) /* Formats change per channel */
#define XSGIVC_SIFFormatCombination (1L << 1) /* Formats change via combination */
typedef struct {
int numChannels; /* Number of output channels */
long flags; /* See XSGIVC_SIF... masks */
Bool lockOp; /* XSGIvcSetScreenInputSyncSource usable */
char graphicsType[XSGIVC_NAME_MAX]; /* Names of gfx hw */
int numExternalSync; /* Number of external sync ports */
} XSGIvcScreenInfo;
_n_u_m_C_h_a_n_n_e_l_s specifies the number of output channels on this
server. You may use set or query operations on channels
numbering 0 to _n_u_m_C_h_a_n_n_e_l_s - _1.
Page 1 (printed 4/30/98)
XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333)))) XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo((((3333))))
The _f_l_a_g_s field may contain the following mask bits:
_X_S_G_I_V_C__S_I_F_F_o_r_m_a_t_P_e_r_C_h_a_n_n_e_l
Video formats may be changed for each channel.
Servers with multiple channels need not use
format combinations.
_X_S_G_I_V_C__S_I_F_F_o_r_m_a_t_C_o_m_b_i_n_a_t_i_o_n
Video formats may be changed en masse with a
format combination.
_l_o_c_k_O_p describes whether the server has the capability to
lock to external sync sources via the
XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttSSSSccccrrrreeeeeeeennnnIIIInnnnppppuuuuttttSSSSyyyynnnnccccSSSSoooouuuurrrrcccceeee function.
_g_r_a_p_h_i_c_s_T_y_p_e contains a null-terminated ASCII string
containing the name of the graphics hardware type. The name
is unique for each type of graphics hardware.
_n_u_m_E_x_t_e_r_n_a_l_S_y_n_c contains the number of external sync
sources.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
XSGIvc, XSGIvcListVideoFormats,
XSGIvcSetScreenInputSyncSource
Page 2 (printed 4/30/98)